//
//  LastView.h
//  OpenEyes
//
//  Created by dllo on 15/9/15.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BuyVC.h"
#import "LazyFadeInView.h"
#import "MorePicVC.h"
@class LastModel;

@protocol pushControllerDelegate <NSObject>

-(void)push:(BuyVC *)controller;

@end

@protocol pushToMoreDelegate <NSObject>

-(void)pushTo:(MorePicVC *)controller;

@end

@interface LastView : UIView
@property (strong, nonatomic) LazyFadeInView *fadeInView;
@property (nonatomic, strong) UIScrollView *scrollView;
@property (nonatomic, strong) UIImageView *img;
@property (nonatomic, strong) UILabel *titleLbl;
@property (nonatomic, strong) UILabel *contentLbl;
@property (nonatomic, strong) UIButton *priceBtn;
@property (nonatomic, strong) UIButton *lookBtn;
@property (nonatomic ,retain) UIView *clearView;


/**
 *  更多图片底色
 */
@property (nonatomic, strong) UILabel *morePicLbl;

/**
 *  更多图片
 */
@property (nonatomic, strong) UIImageView *morePicImg;

/**
 *  轻拍图片
 */
@property (nonatomic, strong) UITapGestureRecognizer *tap;



/**
 *  全局网址
 */
@property (nonatomic, copy) NSString *webViewUrl;

/**
 *  全局图片字符串
 */
@property (nonatomic, strong) NSString *picImage;

//收藏和分享按钮
@property (nonatomic, strong) UIButton *addButton;
@property (nonatomic, strong) UIButton *shareButton;






@property (nonatomic, assign) id <pushControllerDelegate>delegate;

@property (nonatomic, assign) id <pushToMoreDelegate>morePicDelegate;

-(id)initWithFrame:(CGRect)frame;
-(void)getValue:(LastModel *)model;

@end
